package com.redwine.app.net.responses;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * 我发布的采购
 * 作者：gassion on 17/8/12 11:51
 * 最可怕的敌人，就是没有坚强的信念。
 */
public class SendProcurementResponse extends BaseResponse {

    /**
     * data : {"data":[{"id":"21","title":"jj","num":"8","price":"7.00","city":"北京市","invoice":"2","anonymous":"2","content":"cfkfkfk","pic":"https://t-app.baisouhj.com/image/hongjiu/201709/09/131511705532.jpg","uid":"8","date":"2017-09-09 13:15:11","status":"1","remain":"6天13小时43分","remain_before":"0天10小时17分","quote_count":0},{"id":"20","title":"cxxn","num":"12","price":"7646.00","city":"北京市","invoice":"2","anonymous":"2","content":"fnccjcjc","pic":"https://t-app.baisouhj.com/image/hongjiu/201709/09/131454210911.png","uid":"8","date":"2017-09-09 13:14:54","status":"2","remain":"6天13小时26分","remain_before":"0天10小时34分","quote_count":0}],"allpage":7,"page":1}
     */

    private DataEntityX data;

    public DataEntityX getData() {
        return data;
    }

    public void setData(DataEntityX data) {
        this.data = data;
    }

    public static class DataEntityX {
        /**
         * data : [{"id":"21","title":"jj","num":"8","price":"7.00","city":"北京市","invoice":"2","anonymous":"2","content":"cfkfkfk","pic":"https://t-app.baisouhj.com/image/hongjiu/201709/09/131511705532.jpg","uid":"8","date":"2017-09-09 13:15:11","status":"1","remain":"6天13小时43分","remain_before":"0天10小时17分","quote_count":0},{"id":"20","title":"cxxn","num":"12","price":"7646.00","city":"北京市","invoice":"2","anonymous":"2","content":"fnccjcjc","pic":"https://t-app.baisouhj.com/image/hongjiu/201709/09/131454210911.png","uid":"8","date":"2017-09-09 13:14:54","status":"2","remain":"6天13小时26分","remain_before":"0天10小时34分","quote_count":0}]
         * allpage : 7
         * page : 1
         */

        private int allpage;
        private int page;
        private List<DataEntity> data;

        public int getAllpage() {
            return allpage;
        }

        public void setAllpage(int allpage) {
            this.allpage = allpage;
        }

        public int getPage() {
            return page;
        }

        public void setPage(int page) {
            this.page = page;
        }

        public List<DataEntity> getData() {
            return data;
        }

        public void setData(List<DataEntity> data) {
            this.data = data;
        }

        public static class DataEntity {
            /**
             * id : 21
             * title : jj
             * num : 8
             * price : 7.00
             * city : 北京市
             * invoice : 2
             * anonymous : 2
             * content : cfkfkfk
             * pic : https://t-app.baisouhj.com/image/hongjiu/201709/09/131511705532.jpg
             * uid : 8
             * date : 2017-09-09 13:15:11
             * status : 1
             * remain : 6天13小时43分
             * remain_before : 0天10小时17分
             * quote_count : 0
             */

            private String id;
            private String title;
            private String num;
            private String price;
            private String city;
            private String invoice;
            private String anonymous;
            private String content;
            private String pic;
            private String uid;
            private String date;
            @SerializedName("status")
            private String statusX;
            private String remain;
            private String remain_before;
            private int quote_count;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getNum() {
                return num;
            }

            public void setNum(String num) {
                this.num = num;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public String getInvoice() {
                return invoice;
            }

            public void setInvoice(String invoice) {
                this.invoice = invoice;
            }

            public String getAnonymous() {
                return anonymous;
            }

            public void setAnonymous(String anonymous) {
                this.anonymous = anonymous;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getPic() {
                return pic;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public String getDate() {
                return date;
            }

            public void setDate(String date) {
                this.date = date;
            }

            public String getStatusX() {
                return statusX;
            }

            public void setStatusX(String statusX) {
                this.statusX = statusX;
            }

            public String getRemain() {
                return remain;
            }

            public void setRemain(String remain) {
                this.remain = remain;
            }

            public String getRemain_before() {
                return remain_before;
            }

            public void setRemain_before(String remain_before) {
                this.remain_before = remain_before;
            }

            public int getQuote_count() {
                return quote_count;
            }

            public void setQuote_count(int quote_count) {
                this.quote_count = quote_count;
            }
        }
    }
}
